package com.campus.entity.Clazz;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 教师班级中间表
 *
 * @author Alaskaboo
 * @TableName t_clazz_teacher
 * @since 2022-10-23 14:42:37
 */
@TableName(value = "t_clazz_teacher")
@Data
public class ClazzTeacher implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     *
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 教师id
     */
    @TableField(value = "teacher_id")
    private Long teacherId;
    /**
     * 班级id
     */
    @TableField(value = "class_id")
    private Long classId;
}